/*
 * MCR.h
 *
 *  Created on: 05/08/2013
 *      Author: marcio
 */

#ifndef MCR_H_
#define MCR_H_

#include <BitTools.h>

typedef struct submcr{
	long dp;
	long r;
	long p;
	long* R;
	WORD* bitR;
	long cover;
}SPMCR;

void* mcrAloca();

void mcrRelease(void* sub);

int mcrSel(void* sub);

int mcrRoot(void* sub);

int mcrGen(void* sub, long* imax);

#endif /* MCR_H_ */
